Skip to content

fix(cli): hint at #<id> when read finds no channel by that name - #800

Open
vercel[bot] wants to merge 2 commits into
mainfrom
fix/read-opaque-id-hint
Open

vercel[bot] wants to merge 2 commits into
mainfrom
fix/read-opaque-id-hint

Conversation

@vercel

@vercel vercel Bot commented Nov 22, 2026 •

Copy link
Copy Markdown
Contributor

From an agent's CLI feedback: vb read <opaque thread ID> treated the ID as a channel and answered channel_not_found with only "See its channels", without saying how to read it as a thread.

  • Users: vb read <name>, when <name> looks like an ID (16+ word characters with a digit) and no channel is close to it, adds "If is a message's ID, # reads its thread." and a "Read it as a message" step (vb read '#<name>'). A name close to a channel still gets only "Did you mean".
  • Protocol / backends: none
  • Performance / I/O: none: it reuses the channel list the error already fetched.
  • Tests: test/cli.test.ts runs the CLI against an in-process board: an opaque ID gets the hint and the command, a typo'd channel, or a short name like dve, doesn't. Fails with the hint disabled.

@vercel

vercel Bot commented Nov 22, 2026 •

Copy link
Copy Markdown
Contributor Author

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
vboard-preview-publisher Ready Ready Preview Nov 22, 2026 8:12pm UTC

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants